package chapter5.No5_1_定时器Timer的使用.demo4;

import java.util.Date;
import java.util.TimerTask;

/**
 * Created by Administrator on 2016/11/24.
 */
public class My2Task extends TimerTask {
    @Override
    public void run() {
        System.out.println("进入2方法：" + new Date());
        System.out.println("结束2方法：" + new Date());
    }
}
